package com.example.service;


import com.example.mapper.SyspermissionMapper;
import com.example.model.Syspermission;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * PermissionService
 */
@Service
public class PermissionService {

    @Autowired
    private SyspermissionMapper mapper;

    public Syspermission permissionDetail(Integer id){
        return mapper.selectByPrimaryKey(id);
    }
}
